<%@ include file="../include/common_jsp_header.jsp"%>
<c:set var="currentSubSite" value="Edit Topic" />

<html>
<head>
<%@ include file="../include/html_head.jsp"%>
</head>

<body>

<div id="site-wrapper" class="container">
  <%@ include file="../include/page_header.jsp"%>

  <span class="span-17">
    <hr/>
    <h2>Create a new topic</h2>
    <form:form commandName="topic" action="save.html" method="post" acceptCharset="UTF-8">
      <fieldset>
        <div>
          <label for="topic"><fmt:message key="topic.create.topic"/>:</label>
          <form:input path="topic" />
          <form:errors path="topic" cssClass="error"/>
        </div><br/>
        <div>
          <label for="queries"><fmt:message key="topic.create.queries"/>:</label>
          <form:input path="queries" />
          <form:errors path="queries" cssClass="error"/>
        </div><br/>
        <div>
          <input type="submit" value="save" />
          <input type="submit" value="cancel" name="cancel"/>
        </div>
      </fieldset>
    </form:form>

    <%@ include file="topic_menu.jsp"%>
  </span>
  <span class="span-7 last">
    <hr/>
    <h2>Help</h2>
    To create a new topic, give it a topic name and add the query term you would like to use to track that topic.
    Query terms are combined with "OR" before being sent to twitter for tracking.
  </span>
  <hr/>


</div>
</body>

</html>
